/**
 * output package name
 */
package com.kingdee.eas.xbang.contract;

import java.util.Map;
import java.util.List;
import java.util.Iterator;
import com.kingdee.util.enums.StringEnum;

/**
 * output class name
 */
public class KhRightEnum extends StringEnum
{
    public static final String ONE_VALUE = "1";
    public static final String TWO_VALUE = "2";
    public static final String THREE_VALUE = "3";
    public static final String FOUR_VALUE = "4";
    public static final String FIVE_VALUE = "5";

    public static final KhRightEnum one = new KhRightEnum("one", ONE_VALUE);
    public static final KhRightEnum two = new KhRightEnum("two", TWO_VALUE);
    public static final KhRightEnum three = new KhRightEnum("three", THREE_VALUE);
    public static final KhRightEnum four = new KhRightEnum("four", FOUR_VALUE);
    public static final KhRightEnum five = new KhRightEnum("five", FIVE_VALUE);

    /**
     * construct function
     * @param String khRightEnum
     */
    private KhRightEnum(String name, String khRightEnum)
    {
        super(name, khRightEnum);
    }
    
    /**
     * getEnum function
     * @param String arguments
     */
    public static KhRightEnum getEnum(String khRightEnum)
    {
        return (KhRightEnum)getEnum(KhRightEnum.class, khRightEnum);
    }

    /**
     * getEnumMap function
     */
    public static Map getEnumMap()
    {
        return getEnumMap(KhRightEnum.class);
    }

    /**
     * getEnumList function
     */
    public static List getEnumList()
    {
         return getEnumList(KhRightEnum.class);
    }
    
    /**
     * getIterator function
     */
    public static Iterator iterator()
    {
         return iterator(KhRightEnum.class);
    }
}